import { IconFont } from '@nutui/icons-react-taro'

const Icon = ({ name, size }: { name: string; size: number }) => {
  return <IconFont fontClassName='iconfont' classPrefix='icon' name={name} size={size} />
}

export default Icon
